package com.csun.cmny.provider.model.domain;

import lombok.Data;
import org.apache.ibatis.type.Alias;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Alias(value = "dmcBedsideCareBind")
@Table(name = "cn_dmc_csun_bedside_bind")
public class DmcBedsideCareBind extends DeviceBindBaseEntity {

    private static final long serialVersionUID = -2019515923895487827L;

    /**
     * 设备Id
     */
    @Id
    @Column(name = "device_id")
    private Long deviceId;

    /**
     * 0-自定义, 1-人, 2-床
     */
    @Column(name = "bind_type")
    private Integer bindType;



    /**
     * 床位Id
     */
    @Column(name = "bed_id")
    private Integer bedId;

    /**
     * 绑定位置
     */
    @Column(name = "location")
    private String location;

}